/* 替换主题变量，使用固定颜色值 */
@primary-color: #1890ff;

.user-center-container {
  padding: 24px;
  animation: fadeIn 0.8s ease-in-out;
}

.user-center-card {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s;

  &:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
  }
}

.user-center-title {
  text-align: center;
  margin-bottom: 24px;
  color: @primary-color;
  font-weight: bold;
  font-size: 24px;
  position: relative;
  
  &:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    width: 60px;
    height: 3px;
    background: @primary-color;
    transform: translateX(-50%);
    border-radius: 3px;
  }
}

.user-center-avatar {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
  
  .avatar-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, @primary-color, lighten(@primary-color, 20%));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: pulse 2s infinite;
    transition: all 0.3s;
    
    &:hover {
      transform: scale(1.05);
    }
  }
}

.user-center-descriptions {
  animation: slideUp 0.6s ease-out;
  
  :global {
    .ant-descriptions-item-label {
      width: 150px;
      font-weight: 500;
      background-color: fade(@primary-color, 5%);
    }
    
    .ant-descriptions-item-content {
      width: calc(100% - 150px);
    }
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(24, 144, 255, 0.6);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(24, 144, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(24, 144, 255, 0);
  }
} 